//
//  NSMCSSearchController.m
//  BSProject
//
//  Created by nsm on 2020/4/13.
//  Copyright © 2020 beisheng. All rights reserved.
//

#import "NSMCSSearchController.h"

@interface NSMCSSearchController ()

@end

@implementation NSMCSSearchController

#pragma mark - lifeCycle
- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
    
    [self.searchBar becomeFirstResponder];
}

#pragma mark - override

#pragma mark - initialization
- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.searchBar.placeholder = @"城市名";
    self.searchBar.searchFieldCornerRadius = 6;
    self.ignoreSearchBtnAction = YES;
}

#pragma mark - setter/getter

#pragma mark - network

#pragma mark - method/public

#pragma mark - method/private

#pragma mark - action

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

@end
